#![recursion_limit = "512"]
#![feature(todo_macro)]

use log::trace;
use yew::prelude::*;

pub struct Model {}

pub enum Msg {}

impl Component for Model {
    type Message = Msg;
    type Properties = ();

    fn create(_: Self::Properties, mut link: ComponentLink<Self>) -> Self {
        Model {}
    }

    fn update(&mut self, msg: Self::Message) -> ShouldRender {
        true
    }
}

impl Renderable<Model> for Model {
    fn view(&self) -> Html<Self> {
        html! {
            <h1>{"Helo, FamilysDiary"}</h1>
        }
    }
}
